import Cookie from 'js-cookie';

//设置cookie

export const setCookie = (key:string,value:string) => {
    Cookie.set(key,value);
}

//获取cookie

export const getCookie = (key:string) => {
    return Cookie.get(key)
}

//删除cookie

export const removeCookie = (key:string) => {
    Cookie.remove(key)
}